package com.xinsilu.hospital.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xinsilu.hospital.entity.Listofnoninpatientitems;
import com.xinsilu.hospital.entity.NoHospitalizationTable;
import com.xinsilu.hospital.mapper.ListofnoninpatientitemsMapper;
import com.xinsilu.hospital.service.IListofnoninpatientitemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ListofnoninpatientitemsServiceImpl extends ServiceImpl<ListofnoninpatientitemsMapper, Listofnoninpatientitems> implements IListofnoninpatientitemsService {

    @Autowired
    private ListofnoninpatientitemsMapper listofnoninpatientitemsMapper;

    @Override
    public List<Listofnoninpatientitems> getgoumai(Listofnoninpatientitems listofnoninpatientitems) {
        return listofnoninpatientitemsMapper.getgoumai(listofnoninpatientitems);
    }

    @Override
    public Integer shouqian(String yishou,int patientid) {
        return listofnoninpatientitemsMapper.shouqian(yishou, patientid);
    }

    @Override
    public List<Listofnoninpatientitems> getjiancha(Listofnoninpatientitems listofnoninpatientitems) {
        return listofnoninpatientitemsMapper.getjiancha(listofnoninpatientitems);
    }

    @Override
    public Integer yijiancha(String sfjiancha, int patientid) {
        return listofnoninpatientitemsMapper.yijiancha(sfjiancha,patientid);
    }
}
